package com.qf.blog.service;

import com.qf.blog.entity.DiscussPost;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qf.blog.vo.PostVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author toString
 * @since 2024-05-21
 */
public interface IDiscussPostService extends IService<DiscussPost> {

    List<PostVo> getPostVoList(Integer orderMode);

    void addComputeQueue(Integer postId);

    Long getPostQueueSize();

    Integer getPostQueuePop();
}
